package com.sgj.adapter.objectadapter;

/**
 * 适配器模式
 * 对象适配器
 * @Author: Guoji Shen
 * @Date: 2021/11/16 10:25
 */
public class Voltage220V {

    /**
     * 输出220V电压
     * @return
     */
    public int output220V() {
        int src = 220;
        System.out.println("电压 = " + src + "伏");
        return src;
    }
}